package homework_five_1;

public class Main {
    public static void main(String[] args) {
        Vehicle vehicle=new Vehicle("benz","black");
        System.out.println("品牌： "+vehicle.getBrand()+"  颜色 ："+vehicle.getColor()+"  速度 ："+vehicle.getSpeed()+"  的汽车");
        vehicle.run();
        System.out.println("========================================================");
        Car car=new Car("Honda","red",2);
        System.out.println("品牌： "+car.getBrand()+"  颜色 ："+car.getColor()+"  速度： "+car.getSpeed()+" 载人量为 "+car.getLoader()+"  的小轿车");
        car.run();
    }
}
